package com.sps.business.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.sps.common.annotation.Excel;
import com.sps.common.core.domain.BaseEntity;

/**
 * 订单信息对象 cc_order_info
 * 
 * @author 王超
 * @date 2024-12-11
 */
public class CcOrderInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 状态 */
    @Excel(name = "订单状态", readConverterExp = "0=初始化,1=完成")
    private Long status;

    /** 订单编号 */
    @Excel(name = "订单编号")
    private String orderCode;

    /** 物料号 */
    @Excel(name = "物料号")
    private String itemCode;

    /** 物料名称 */
    @Excel(name = "物料名称")
    private String itemName;

    /** 标签编号 */
    @Excel(name = "标签编号")
    private String lableCode;

    /** 器具位置编号 */
    @Excel(name = "器具位置编号")
    private String applianceyCode;

    /** 器具名称 */
    @Excel(name = "器具名称")
    private String applianceyName;

    /** 供应商编号 */
    @Excel(name = "供应商编号")
    private String suppCode;

    /** 供应商名称 */
    @Excel(name = "供应商名称")
    private String suppName;

    /** 单车数量 */
    @Excel(name = "单车用量")
    private Long dcNum;

    /** 分拣数量 */
    @Excel(name = "分拣数量")
    private Long fjNum;

    /** 订单台数 */
    @Excel(name = "订单台数")
    private Long orderTs;

    /** 单位 */
    @Excel(name = "单位")
    private String unit;

    /** sps区 */
    @Excel(name = "sps区")
    private String spsArea;

    /** 线体编号 */
    @Excel(name = "线体编号")
    private String lineCode;

    /** 线体名称 */
    @Excel(name = "线体名称")
    private String lineName;

    /** 排产日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "排产日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date pcDate;

    /** 备注 */
    @Excel(name = "备注")
    private String bz;

    /** 创建人 */
    @Excel(name = "创建人")
    private String createUser;

    /** 分拣单编号 */
    private String res1;

    /** 备用2 */
    private String res2;

    /** 备用3 */
    private String res3;
    /** 备用4 */
    private String res4;
    /** 备用5 */
    private String res5;

    /**  日期（用来查询最大分拣单号） */
    private String strDate;

    /** 序列号(按照sps区来) */
    private Long sn;

    /** 分拣时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date fjTime;

    /** 分拣人 */
    private String fjUser;

    private String startTime;

    private String endTime;
    /*
     * 序列号
     */
    private Long xlh;

    public Long getOrderTs() {
        return orderTs;
    }

    public void setOrderTs(Long orderTs) {
        this.orderTs = orderTs;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }
    public void setOrderCode(String orderCode) 
    {
        this.orderCode = orderCode;
    }

    public String getOrderCode() 
    {
        return orderCode;
    }
    public void setItemCode(String itemCode) 
    {
        this.itemCode = itemCode;
    }

    public String getItemCode() 
    {
        return itemCode;
    }
    public void setItemName(String itemName) 
    {
        this.itemName = itemName;
    }

    public String getItemName() 
    {
        return itemName;
    }
    public void setLableCode(String lableCode) 
    {
        this.lableCode = lableCode;
    }

    public String getLableCode() 
    {
        return lableCode;
    }
    public void setApplianceyCode(String applianceyCode) 
    {
        this.applianceyCode = applianceyCode;
    }

    public String getApplianceyCode() 
    {
        return applianceyCode;
    }
    public void setApplianceyName(String applianceyName) 
    {
        this.applianceyName = applianceyName;
    }

    public String getApplianceyName() 
    {
        return applianceyName;
    }
    public void setSuppCode(String suppCode) 
    {
        this.suppCode = suppCode;
    }

    public String getSuppCode() 
    {
        return suppCode;
    }
    public void setSuppName(String suppName) 
    {
        this.suppName = suppName;
    }

    public String getSuppName() 
    {
        return suppName;
    }
    public void setFjNum(Long fjNum) 
    {
        this.fjNum = fjNum;
    }

    public Long getFjNum() 
    {
        return fjNum;
    }
    public void setUnit(String unit) 
    {
        this.unit = unit;
    }

    public String getUnit() 
    {
        return unit;
    }
    public void setSpsArea(String spsArea) 
    {
        this.spsArea = spsArea;
    }

    public String getSpsArea() 
    {
        return spsArea;
    }
    public void setLineCode(String lineCode) 
    {
        this.lineCode = lineCode;
    }

    public String getLineCode() 
    {
        return lineCode;
    }
    public void setLineName(String lineName) 
    {
        this.lineName = lineName;
    }

    public String getLineName() 
    {
        return lineName;
    }
    public void setPcDate(Date pcDate) 
    {
        this.pcDate = pcDate;
    }

    public Date getPcDate() 
    {
        return pcDate;
    }
    public void setBz(String bz) 
    {
        this.bz = bz;
    }

    public String getBz() 
    {
        return bz;
    }

    public void setCreateUser(String createUser) 
    {
        this.createUser = createUser;
    }

    public String getCreateUser() 
    {
        return createUser;
    }
    public void setRes1(String res1) 
    {
        this.res1 = res1;
    }

    public String getRes1() 
    {
        return res1;
    }
    public void setRes2(String res2) 
    {
        this.res2 = res2;
    }

    public String getRes2() 
    {
        return res2;
    }
    public void setRes3(String res3) 
    {
        this.res3 = res3;
    }

    public String getRes3() 
    {
        return res3;
    }
    public void setRes4(String res4) 
    {
        this.res4 = res4;
    }

    public String getRes4() 
    {
        return res4;
    }
    public void setRes5(String res5) 
    {
        this.res5 = res5;
    }

    public String getRes5() 
    {
        return res5;
    }

    public Long getDcNum() {
        return dcNum;
    }

    public void setDcNum(Long dcNum) {
        this.dcNum = dcNum;
    }

    public Long getSn() {
        return sn;
    }

    public void setSn(Long sn) {
        this.sn = sn;
    }

    public String getStrDate() {
        return strDate;
    }

    public void setStrDate(String strDate) {
        this.strDate = strDate;
    }

    public Date getFjTime() {
        return fjTime;
    }

    public void setFjTime(Date fjTime) {
        this.fjTime = fjTime;
    }

    public String getFjUser() {
        return fjUser;
    }

    public void setFjUser(String fjUser) {
        this.fjUser = fjUser;
    }

    public String getStartTime() {
        return startTime;
    }

    public void setStartTime(String startTime) {
        this.startTime = startTime;
    }

    public String getEndTime() {
        return endTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }

    public Long getXlh() {
        return xlh;
    }

    public void setXlh(Long xlh) {
        this.xlh = xlh;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("status", getStatus())
            .append("orderCode", getOrderCode())
            .append("itemCode", getItemCode())
            .append("itemName", getItemName())
            .append("lableCode", getLableCode())
            .append("applianceyCode", getApplianceyCode())
            .append("applianceyName", getApplianceyName())
            .append("suppCode", getSuppCode())
            .append("suppName", getSuppName())
            .append("fjNum", getFjNum())
            .append("unit", getUnit())
            .append("spsArea", getSpsArea())
            .append("lineCode", getLineCode())
            .append("lineName", getLineName())
            .append("pcDate", getPcDate())
            .append("bz", getBz())
            .append("createUser", getCreateUser())
            .append("res1", getRes1())
            .append("res2", getRes2())
            .append("res3", getRes3())
            .append("res4", getRes4())
            .append("res5", getRes5())
            .toString();
    }
}
